package com.study.spring.proxy;


import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

//@Aspect
//@Component
public class DemoProxy {

    @Before("execution (* com.study.spring.proxy.Demo.add(..))")
    public void test(){
        System.out.println("增强方法先执行");
    }


}
